package com.mkr.service.impl;

import com.mkr.dao.UserDao;
import com.mkr.dao.impl.UserDaoImpl;
import com.mkr.service.UserService;

/**
 * @author mkr
 * @version V1.0
 * @Project BookApp
 * @Package com.mkr.servlet
 * @Description:
 * @Date 2022/5/13 22:25
 */
public class UserServiceImpl implements UserService {

    //创建dao层对象
    public UserDao userDao = new UserDaoImpl();

    @Override
    public boolean login(String uname, String pwd) {
        return userDao.selectUser(uname,pwd)!=null;
    }
}
